let tokenUrl = "";
let url = "";
let userUrl = "";
let selectUrl = "";
let changeUrl = "";
let checkUrl = "";
let userCheckUrl = "";
let clearUrl = "";
let indexUrl = "";
let pushUrl = "";
switch (process.env.VUE_APP_ENV) {
  case "develop":
    tokenUrl = "/manager/api/jeecg-boot/outerData/getToken"; //亦庄
    url = "/manager/api/jeecg-boot/online/cgform/api";
    userUrl = "/manager/api/jeecg-boot/sys";
    changeUrl = "/manager/api/jeecg-boot/newOnline/cgform/api";
    selectUrl = "/manager/api/jeecg-boot/dimvalue/dimDimensionLevelValue";
    checkUrl = "/manager/api/jeecg-boot/newOnline/cgform/api/checkForm";
    userCheckUrl = "/manager/api/jeecg-boot/sys/duplicate/check";
    // clearUrl = "/manager/apiClear/clearcache";
    clearUrl = "http://10.242.31.70:8082/basic/clearcache";
    indexUrl = "/manager/api/jeecg-boot/dm/kpiConfRepMain/manage";
    pushUrl = "/manager/push/push_in_neo4j";
    break;
  case "development":
    tokenUrl = "";
    break;
  case "test":
    tokenUrl = "http://10.32.21.82:8092/jeecg-boot/outerData/getToken"; //亦庄
    url = "http://10.32.21.82:8092/jeecg-boot/online/cgform/api";
    userUrl = "http://10.32.21.82:8092/jeecg-boot/sys";
    changeUrl = "http://10.32.21.82:8092/jeecg-boot/newOnline/cgform/api";
    clearUrl = "http://10.32.21.82:8082/basic/clearcache";
    userCheckUrl = "http://10.32.21.82:8092/jeecg-boot/sys/duplicate/check";
    checkUrl =
      "http://10.32.21.82:8092/jeecg-boot/newOnline/cgform/api/checkForm";
    selectUrl =
      "http://10.32.21.82:8092/jeecg-boot/dimvalue/dimDimensionLevelValue";
    indexUrl = "/manager/api/jeecg-boot/dm/kpiConfRepMain/manage";
    pushUrl = "/manager/push/push_in_neo4j";
    break;
  case "production":
    tokenUrl = "/manager/api/jeecg-boot/outerData/getToken"; //亦庄
    url = "/manager/api/jeecg-boot/online/cgform/api";
    userUrl = "/manager/api/jeecg-boot/sys";
    changeUrl = "/manager/api/jeecg-boot/newOnline/cgform/api";
    clearUrl = "/manager/apiClear/basic/clearcache";
    userCheckUrl = "/manager/api/jeecg-boot/sys/duplicate/check";
    checkUrl = "/manager/api/jeecg-boot/newOnline/cgform/api/checkForm";
    selectUrl = "/manager/api/jeecg-boot/dimvalue/dimDimensionLevelValue";
    indexUrl = "/manager/api/jeecg-boot/dm/kpiConfRepMain/manage";
    pushUrl = "/manager/push/push_in_neo4j";
    break;
}
export {
  tokenUrl,
  url,
  selectUrl,
  changeUrl,
  checkUrl,
  clearUrl,
  userCheckUrl,
  userUrl,
  indexUrl,
  pushUrl,
};
